/**
 * 
 */
package model;

/**
 * @author yuqi
 *
 */
public class LoginUser{
	private static int id; 
	private static String username = "user";
	private static double discount = 1.0;
	private static String userType = "salesman";
	
	private LoginUser(int id , String username , Double discount){
		LoginUser.id = id;
		LoginUser.username = username;
		LoginUser.discount = discount;
	}
	
	public static int getId() {
		return id;
	}
	
	public static void setId(int id) {
		LoginUser.id = id;
	}
	
	public static String getUsername() {
		return username;
	}
	
	public static void setUsername(String username) {
		LoginUser.username = username;
	}
	
	public static double getDiscount() {
		return discount;
	}
	
	public static void setDiscount(double discount) {
		LoginUser.discount = discount;
	}

	/**
	 * @param userType the userType to set
	 */
	public static void setUserType(String userType) {
		LoginUser.userType = userType;
	}

	/**
	 * @return the userType
	 */
	public static String getUserType() {
		return userType;
	}
}
